import request from '@/axios/request'

export const login = (data:any) => request.post('/v1/admin', data)
export const getInfo = () => request.get('/v1/adminInfo')

export const logout = () => request.post('/v1/logout')

